package com.lzx.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sun.org.apache.xerces.internal.impl.xs.identity.UniqueOrKey;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.javassist.util.proxy.ProxyFactory;

import javax.lang.model.type.UnionType;
import java.io.Serializable;
import java.util.Date;

/**
 * (Member)实体类
 *
 * @author makejava
 * @since 2021-02-22 19:41:08
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class Member implements Serializable {
    private static final long serialVersionUID = 614203578170879478L;

    private Integer id;

    private Integer addressId;

    private Date birth;

    private String email;

    private String password;

    private String gender;

    private String name;

    private String phone;

    private String username;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    private Boolean status;

    private Integer userId;


}